package com.example.finaltool.mapper;

import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Mapper;

/**
 * @author dengbw
 * @date 2021/8/24 2:27 下午
 */
@Mapper
public interface SysLogMapper {
    @Delete("delete from sys_log where tenant_id = #{corpId}")
    void delete(String corpId);

    @Delete("delete from sys_log where sub_tenant_id = #{subId}")
    void deleteCun(Long subId);
}
